﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <CustomAction
      Id="AIS.SharePoint.AspNetFAB.Ribbon"
      Location="CommandUI.Ribbon"
      Sequence="4000">
    <CommandUIExtension>
      <CommandUIDefinitions>
        <CommandUIDefinition Location="Ribbon.Tabs._children">
          <Tab Id="AIS.SharePoint.AspNetFAB.Ribbon.Edit"
               Sequence="40001"
               Description=""
               Title="$Resources:core,cui_TabListFormEditTitle;">
            <Scaling Id="AIS.SharePoint.AspNetFAB.Ribbon.Edit.Scaling">
              <MaxSize Id="AIS.SharePoint.AspNetFAB.Ribbon.Edit.Scaling.Commit.MaxSize" Sequence="10" GroupId="AIS.SharePoint.AspNetFAB.Ribbon.Edit.Commit" Size="LargeLarge"/>
              <Scale Id="AIS.SharePoint.AspNetFAB.Ribbon.Edit.Scaling.Commit.Popup" Sequence="80" GroupId="AIS.SharePoint.AspNetFAB.Ribbon.Edit.Commit" Size="Popup" />
            </Scaling>
            <Groups Id="AIS.SharePoint.AspNetFAB.Ribbon.Edit.Groups">
              <Group Id="AIS.SharePoint.AspNetFAB.Ribbon.Edit.Commit"
                     Sequence="10"
                     Description=""
                     Title="$Resources:core,cui_GrpListFormCommitGroup;"
                     Image32by32Popup="/_layouts/$Resources:core,Language;/images/formatmap32x32.png" Image32by32PopupTop="-416" Image32by32PopupLeft="-256"
                     Template="Ribbon.Templates.Flexible2" >
                <Controls Id="AIS.SharePoint.AspNetFAB.Ribbon.Edit.Commit.Controls">
                  <Button
                    Id="AIS.SharePoint.AspNetFAB.Ribbon.Edit.Commit.Publish"
                    Sequence="10"
                    Command="AIS.SharePoint.AspNetFAB.Ribbon.Edit.Commit.Publish"
                    Image16by16="/_layouts/$Resources:core,Language;/images/formatmap16x16.png" Image16by16Top="-112" Image16by16Left="0"
                    Image32by32="/_layouts/$Resources:core,Language;/images/formatmap32x32.png" Image32by32Top="-416" Image32by32Left="-256"
                    LabelText="$Resources:core,cui_ButListFormSave;"
                    ToolTipTitle="$Resources:core,cui_ButListFormSave;"
                    ToolTipDescription="$Resources:core,cui_STT_ButListFormSave;"
                    TemplateAlias="o1"/>
                  <Button
                    Id="AIS.SharePoint.AspNetFAB.Ribbon.Edit.Commit.Cancel"
                    Sequence="20"
                    Command="AIS.SharePoint.AspNetFAB.Ribbon.Edit.Commit.Cancel"
                    Image16by16="/_layouts/$Resources:core,Language;/images/formatmap16x16.png" Image16by16Top="0" Image16by16Left="-248"
                    Image32by32="/_layouts/$Resources:core,Language;/images/formatmap32x32.png" Image32by32Top="-448" Image32by32Left="-288"
                    LabelText="$Resources:core,cui_ButListFormCancel;"
                    ToolTipTitle="$Resources:core,cui_ButListFormCancel;"
                    ToolTipDescription="$Resources:core,cui_STT_ButListFormCancel;"
                    TemplateAlias="o1"/>
                </Controls>
              </Group>
            </Groups>
          </Tab>
        </CommandUIDefinition>
      </CommandUIDefinitions>
    </CommandUIExtension>
  </CustomAction>
</Elements>
